# include <stdlib.h>
# include <stdio.h>
# include <string.h>
# include "Header.h"
# include "NArrayTree.h"

int unmount_vfs(struct VFS *header, char *name) {

	FILE *fp;
	int i = 0, ret = 0, num;
	fp = (FILE *)fopen(name, "wb+");
	if (fp == NULL) {
		return 2;
	}
	fwrite(&header, sizeof(header), 1, fp);
	fclose (fp);
	return ret;
}

